Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

do not eat spaces when inside string#12

Merged
ibdknox merged 1 commit intoLightTable:masterfrom
otijhuis:string-tokentype
Feb 24, 2014
Merged

do not eat spaces when inside string#12
ibdknox merged 1 commit intoLightTable:masterfrom
otijhuis:string-tokentype

Conversation

@otijhuis
Copy link
Copy Markdown
Contributor

Currently when a string starts with whitespace the tokentype of that whitespace returns nil, not string. I compared this to javascript/common lisp syntax where it does return string. Turns out it eats the spaces at the beginning of a string even though it is in string mode already.

@ibdknox
Copy link
Copy Markdown
Member

ibdknox commented Feb 24, 2014

Nice catch!

ibdknox added a commit that referenced this pull request Feb 24, 2014
do not eat spaces when inside string
@ibdknox ibdknox merged commit 78190b2 into LightTable:master Feb 24, 2014
@otijhuis otijhuis deleted the string-tokentype branch February 24, 2014 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants